package com.example.mybatisplues.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mybatisplues.po.PageResult;
import com.example.mybatisplues.po.User;
import com.example.mybatisplues.po.UserPage;

import java.util.List;

public interface UserService extends IService<User> {

    void deductMoneyById(Integer id, Integer money);

    List<User> queryUserlist(String name, Integer status, Integer minBalance, Integer maxBalance);

    User getAddressAndUserbyid(Integer id);

    List<User> getAddressAndUserbyids(List<Integer> ids);

    PageResult queryPage(UserPage userPage);
}
